package com.team.teamuserservice.service;

import com.team.teamuserservice.entity.dto.UserDto;
import com.team.teamuserservice.entity.po.BizUserInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.team.teamuserservice.uitls.Result;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * <p>
 * 用户信息 服务类
 * </p>
 *
 * @author cxs
 * @since 2025-07-09
 */
public interface IBizUserInfoService extends IService<BizUserInfo> {

    /**
     * 上传头像
     * @param file
     * @param id
     */
    Result upLoad(MultipartFile file, Long id) throws Exception;

    /**
     * vue分页查询
     * @param userDto
     * @return
     */
    Result pageList(UserDto userDto);
}
